package com.puzzlebazar.client.util;

import com.google.gwt.user.client.ui.Grid;

public interface Field {

	/**
	 * Sets the content of the textbox associated with this field
	 * 
	 * @param entryText The text to put in the text box
	 */
	public void setEntry(String entryText);

	/**
	 * Adds this labeled field to a grid. It will occupy columns 0, 1, 2 of
	 * the passed grid.
	 * 
	 * @param grid The grid to add this field to
	 * @param row The row to add it in
	 */
	public void addToGrid(Grid grid, int row);
	
}
